export default{
    'POST /api/login':(req,res)=>{
        const {username,password}=req.body
        if(username=='Giles'&&password==='123456'){
            res.send({
                code:200,
                message:'登录成功'
            })
        }else{
            res.send({
                code:201,
                message:'登录失败'
            })
        }
    }
}